build: Distribute man page XML source
authorDan Nicholson <nicholson@endlessm.com>
Thu, 1 Sep 2016 18:29:26 +0000 (11:29 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 1 Sep 2016 19:03:23 +0000 (19:03 +0000)
Without this, the manual pages can't actually be regenerated from a dist
tarball, and running make clean will remove all traces of them.

Closes: #486
Approved by: cgwalters

Makefile-man.am

index ce7e93cd9db9ac3a6f0bb93c693a35225106b60f..99d67753f482b83ded7a42d009ae4b56a6ed09e1 100644 (file)
@@ -40,7 +40,7 @@ man5_files = ostree.repo.5 ostree.repo-config.5
 man1_MANS = $(addprefix man/,$(man1_files))
 man5_MANS = $(addprefix man/,$(man5_files))
 
-EXTRA_DIST += $(man1_MANS) $(man5_MANS)
+EXTRA_DIST += $(man1_MANS) $(man5_MANS) $(man1_MANS:=.xml) $(man5_MANS:=.xml)
 
 XSLT_STYLESHEET = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl